.class Lcom/melesta/engine/FacebookOperations$10$1;
.super Ljava/lang/Object;
.source "FacebookOperations.java"

# interfaces
.implements Lcom/facebook/widget/WebDialog$OnCompleteListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/melesta/engine/FacebookOperations$10;->run()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/melesta/engine/FacebookOperations$10;


# direct methods
.method constructor <init>(Lcom/melesta/engine/FacebookOperations$10;)V
    .locals 0
    .parameter

    .prologue
    .line 740
    iput-object p1, p0, Lcom/melesta/engine/FacebookOperations$10$1;->this$0:Lcom/melesta/engine/FacebookOperations$10;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private onPosted(ZII)V
    .locals 2
    .parameter "isPosted"
    .parameter "user_data"
    .parameter "callback"

    .prologue
    .line 749
    invoke-static {}, Lcom/melesta/engine/EngineActivity;->getInstance()Lcom/melesta/engine/EngineActivity;

    move-result-object v0

    new-instance v1, Lcom/melesta/engine/FacebookOperations$10$1$1;

    invoke-direct {v1, p0, p1, p2, p3}, Lcom/melesta/engine/FacebookOperations$10$1$1;-><init>(Lcom/melesta/engine/FacebookOperations$10$1;ZII)V

    invoke-virtual {v0, v1}, Lcom/melesta/engine/EngineActivity;->runOnGLThread(Ljava/lang/Runnable;)V

    .line 755
    return-void
.end method


# virtual methods
.method public onComplete(Landroid/os/Bundle;Lcom/facebook/FacebookException;)V
    .locals 3
    .parameter "values"
    .parameter "error"

    .prologue
    .line 744
    if-nez p2, :cond_0

    if-eqz p1, :cond_0

    invoke-virtual {p1}, Landroid/os/Bundle;->size()I

    move-result v1

    if-lez v1, :cond_0

    const/4 v0, 0x1

    .line 745
    .local v0, isPosted:Z
    :goto_0
    iget-object v1, p0, Lcom/melesta/engine/FacebookOperations$10$1;->this$0:Lcom/melesta/engine/FacebookOperations$10;

    iget v1, v1, Lcom/melesta/engine/FacebookOperations$10;->val$user_data:I

    iget-object v2, p0, Lcom/melesta/engine/FacebookOperations$10$1;->this$0:Lcom/melesta/engine/FacebookOperations$10;

    iget v2, v2, Lcom/melesta/engine/FacebookOperations$10;->val$callback:I

    invoke-direct {p0, v0, v1, v2}, Lcom/melesta/engine/FacebookOperations$10$1;->onPosted(ZII)V

    .line 746
    return-void

    .line 744
    .end local v0           #isPosted:Z
    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method
